home *** CD-ROM | disk | FTP | other *** search
- Path: s161.phxslip4.indirect.com!dschrage
- From: dschrage@indirect.com (Dan Schrage)
- Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
- Subject: Re: C or C++ for a 14-year old?
- Date: Tue, 9 Jan 1996 21:31:33 MST
- Organization: Internet Direct, Inc.
- Message-ID: <dschrage.24.0B5400D7@indirect.com>
- References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <qq4tu6nr5t.fsf@tartarus.ucsd.edu>
- NNTP-Posting-Host: s161.phxslip4.indirect.com
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1]
-
- >Why should the beginner struggle deciphering a few
- >pages of BASIC code, when they could breeze through the same amount
- >if it were written in a Pascal like language?
-
- Why should a beginner learn Pascal with the intent of scrapping later for a
- better language when he could just learn C/C++ from the beginning? The
- difference in difficulty of learning Pascal vs. C/C++ has been greatly
- exaggerated in this thread (I really don't think there was any difference at
- all--If anything, Pascal made it more difficult to learn C.)
-
- I still believe what I stated in my original post--it is pointless to learn
- languages such as Pascal or BASIC when you can learn a much more powerful and
- practical language such as C++ from the beginning without much of a difference
- in the learning curve.
-
- >[C program removed]
- >> This *program* requires considerably more explanation. Also, if this
- >> is not a C *interpreter* the student needs to know something about compilation
- >> and may even need to know about files and linking.
-
- >Yes, C isn't so great for the beginner. Elementary Pascal programs
- >aren't so bad. There's a little preamble, but simpler than C, and
- >far fewer "just do it that way, I'll explain later".
-
- From my experience, it is not any harder to compile and run a simple C++
- program than a Pascal program (although my experience is based solely on Turbo
- C++ and Borland C++). As for the additional housekeeping tasks required in
- C++, I think most of them (e.g. dynamic memory allocation) are not really
- needed as a beginner.
-
- C++ can appear intimidating to the beginner, but I don't think syntax alone
- should scare off a beginner. (If you really think about it, the main
- difference between C++ and Pascal is really only the syntax. The additional
- features of C++ are not really needed as a beginner.)
-
- -------
- Dan
- "Sometimes I get the urge to study. Then I lie down, and the urge subsides."
-